/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.edu.upc.sigu.negocio.serviceImpl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import pe.edu.upc.sigu.entities.Alumnos;
import pe.edu.upc.sigu.modelo.dao.AlumnoDao;
import pe.edu.upc.sigu.negocio.service.AlumnoService;

/**
 *
 * @author Usuario2
 */
@Service(value = "alumnoService" )
public class AlumnoServiceImpl implements AlumnoService {

   @Autowired
    AlumnoDao alumnoDao;

    @Override
    public List getAlumnosList() {
        return alumnoDao.getAlumnosList() ;
    }

    @Override
    public Alumnos getDatosAlumno(Alumnos alumnos) {
        return alumnoDao.getAlumnosList(alumnos);
    }

}